import eventEmitter from "./eventEmitter";
import router from "../router/index"
import { showDialog } from 'vant';

eventEmitter.on('API:UN_AUTH',()=>{
    showDialog({
            title: '异常提醒',
            message: '当前任务已经被使用，请退出！',
        }).then(() => {
                router.replace({
                    path: '/reportingResultwxts',
                })
        });
})